def futureInvestmentValue(investmentAmount,monthlyInterestRate,years):
    return format(investmentAmount * (1+monthlyInterestRate)**(years*12),">10.2f")

invest = eval(input("输入你的投资额："))
rate = eval(input("请输入年利率："))

print(format("年份",">6s"),format("未来值",">6s"))
for year in range(1,31):
    print(format(str(year),">6s"),futureInvestmentValue(invest,rate/1200,year))